package com.yixun.lbx.service;

import com.yixun.lbx.entity.YxProProductCheck;

import java.util.HashMap;
import java.util.List;

public interface ProductCheckService {
    /**
     * @param map todo
     * @return java.lang.Integer
     * @apiNote getCount
     */
    Integer getCount(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return java.util.List<com.yixun.lbx.entity.YxProProductCheck>
     * @apiNote getListByPage
     */
    List<YxProProductCheck> getListByPage(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return int
     * @apiNote addProductCheck
     */
    int addProductCheck(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return int
     * @apiNote updateProductCheck
     */
    int updateProductCheck(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return int
     * @apiNote deleteProductCheck
     */
    int deleteProductCheck(HashMap<String, Object> map);

    /**
     * @param proProductCheck todo
     * @return java.util.List<com.yixun.lbx.entity.YxProProductCheck>
     * @apiNote getObjByArgs
     */
    List<YxProProductCheck> getObjByArgs(YxProProductCheck proProductCheck);

    /**
     * @param map todo
     * @return java.util.List<com.yixun.lbx.entity.YxProProductCheck>
     * @apiNote getSearchListByPage
     */
    List<YxProProductCheck> getSearchListByPage(HashMap<String, String> map);
    
    YxProProductCheck getOneById(String id);
    
    void deleteProductCheckByCpId(HashMap<String, Object> map);
}
